package com.TeacherInfoServer.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import static io.swagger.v3.oas.annotations.media.Schema.AccessMode.READ_ONLY;

/**
 * 教研室信息类
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "教研室信息类")
public class Department {
    @TableId(value = "id",type = IdType.AUTO)
    @Schema(accessMode = READ_ONLY)
    private Long id;

    private String name;

    private String leaderId;

    private String directorId;


}
